🎖️GitЯра🎖️
Node / meshtastic / Meshtastic-Android / files / app / src / google / kotlin / org / meshtastic / app / map / prefs / di / GoogleMapsKoinModule.kt
Displaying Raw • Download
app/src/google/kotlin/org/meshtastic/app/map/prefs/di/GoogleMapsKoinModule.kt 9acdf5309f8f0ab96b30d6505bdac5e93a3bb72c (9acdf530) Text, 1.89 KB
T8b949e/*
* Copyright (c) 2026 Meshtastic LLC
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
Tff7b72package T7ee787org.meshtastic.app.map.prefs.di
Tff7b72import T7ee787android.content.Context
Tff7b72import T7ee787androidx.datastore.core.DataStore
Tff7b72import T7ee787androidx.datastore.preferences.SharedPreferencesMigration
Tff7b72import T7ee787androidx.datastore.preferences.core.PreferenceDataStoreFactory
Tff7b72import T7ee787androidx.datastore.preferences.core.Preferences
Tff7b72import T7ee787androidx.datastore.preferences.preferencesDataStoreFile
Tff7b72import T7ee787kotlinx.coroutines.CoroutineScope
Tff7b72import T7ee787kotlinx.coroutines.SupervisorJob
Tff7b72import T7ee787org.koin.core.annotation.ComponentScan
Tff7b72import T7ee787org.koin.core.annotation.Module
Tff7b72import T7ee787org.koin.core.annotation.Named
Tff7b72import T7ee787org.koin.core.annotation.Single
Tff7b72import T7ee787org.meshtastic.core.di.CoroutineDispatchers
Tf0883e@Module
Tf0883e@ComponentScanTb4b4b4(Ta5d6ff"Ta5d6fforg.meshtastic.app.mapTa5d6ff"Tb4b4b4)
Tff7b72class T56d364GoogleMapsKoinModule Tb4b4b4{
Tf0883e@Single
Tf0883e@NamedTb4b4b4(Ta5d6ff"Ta5d6ffGoogleMapsDataStoreTa5d6ff"Tb4b4b4)
Tff7b72fun Td2a8ffprovideGoogleMapsDataStoreTb4b4b4(Te6edf3contextTb4b4b4: Te6edf3ContextTb4b4b4, Te6edf3dispatchersTb4b4b4: Te6edf3CoroutineDispatchersTb4b4b4)Tb4b4b4: Te6edf3DataStoreTff7b72<Te6edf3PreferencesTff7b72> Tff7b72=
Te6edf3PreferenceDataStoreFactoryTb4b4b4.Te6edf3createTb4b4b4(
Te6edf3migrations Tff7b72= Te6edf3listOfTb4b4b4(Te6edf3SharedPreferencesMigrationTb4b4b4(Te6edf3contextTb4b4b4, Ta5d6ff"Ta5d6ffgoogle_maps_prefsTa5d6ff"Tb4b4b4)Tb4b4b4)Tb4b4b4,
Te6edf3scope Tff7b72= Te6edf3CoroutineScopeTb4b4b4(Te6edf3dispatchersTb4b4b4.Te6edf3io Tff7b72+ Te6edf3SupervisorJobTb4b4b4(Tb4b4b4)Tb4b4b4)Tb4b4b4,
Te6edf3produceFile Tff7b72= Tb4b4b4{ Te6edf3contextTb4b4b4.Te6edf3preferencesDataStoreFileTb4b4b4(Ta5d6ff"Ta5d6ffgoogle_maps_dsTa5d6ff"Tb4b4b4) Tb4b4b4}Tb4b4b4,
Tb4b4b4)
Tb4b4b4}
Served by rngit 1.5.0 - Generated in 0.04s